<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        footer {
            position: fixed;
            bottom: 0px;
            width: 100%;
            margin-bottom: 2px;
        }
        
        body {
            height: 100vh;
            margin: 0px;
        }
        
        footer input {
            width: 80%;
            line-height: 30px;
        }
        
        footer button {
            height: 40px;
            width: 50px;
        }
        
        #container {
            background-image: url(img/image.png);
            background-size: 100%;
            background-repeat: no-repeat;
            margin-bottom: 40px;
            overflow: auto;
            height: calc(100vh - 40px);
        }
    </style>
</head>

<body>
    <div id="container"></div>
    <footer>
        <input type="text">&#x3000;
        <button>发送</button>
    </footer>
    <script src="lianxi3.js"></script>
</body>

</html>